package com.besovideo.mpu;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;

import com.smarteye.mpu.MPUGlobal;
import com.smarteye.mpu.MainService.Connection;


public class PhotoSyncDialog extends Dialog {
	
	Context context;
	int lay;
	private Connection mConnection;

	CheckBox m_CheckBoxPhotoSyncUpdateMpuPhoto;
	CheckBox m_CheckBoxPhotoSyncUpdateCIMPhoto;
	CheckBox m_CheckBoxPhotoSyncUpdateAvatarPhoto;
	CheckBox m_CheckBoxPhotoSyncDownloadMpuPhoto;
	CheckBox m_CheckBoxPhotoSyncDownloadAvatarPhoto;
	
	public PhotoSyncDialog(Context context) {
		super(context, R.style.TransparentDialogHaveTitle);
		this.context = context;
		this.lay = R.layout.photo_sync_set_dialog;
		mConnection = ((MPUGlobal) ((MainActivity) context).getApplication()).getConnection(); 
	}
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		this.setContentView(lay);
		
		m_CheckBoxPhotoSyncUpdateMpuPhoto = (CheckBox)findViewById(R.id.checkBoxPhotoSyncUpdateMpuPhoto);
		m_CheckBoxPhotoSyncUpdateMpuPhoto.setOnCheckedChangeListener(new OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
				// TODO Auto-generated method stub
				
			}
		});

		m_CheckBoxPhotoSyncUpdateCIMPhoto = (CheckBox)findViewById(R.id.checkBoxPhotoSyncUpdateCIMPhoto);
		m_CheckBoxPhotoSyncUpdateCIMPhoto.setOnCheckedChangeListener(new OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
				// TODO Auto-generated method stub
				
			}
		});

		m_CheckBoxPhotoSyncUpdateAvatarPhoto = (CheckBox)findViewById(R.id.checkBoxPhotoSyncUpdateAvatarPhoto);
		m_CheckBoxPhotoSyncUpdateAvatarPhoto.setOnCheckedChangeListener(new OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
				// TODO Auto-generated method stub
				
			}
		});
		
		m_CheckBoxPhotoSyncDownloadMpuPhoto = (CheckBox)findViewById(R.id.checkBoxPhotoSyncDownloadMpuPhoto);
		m_CheckBoxPhotoSyncDownloadMpuPhoto.setOnCheckedChangeListener(new OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
				// TODO Auto-generated method stub
				
			}
		});
		
		m_CheckBoxPhotoSyncDownloadAvatarPhoto = (CheckBox)findViewById(R.id.checkBoxPhotoSyncDownloadAvatarPhoto);
		m_CheckBoxPhotoSyncDownloadAvatarPhoto.setOnCheckedChangeListener(new OnCheckedChangeListener() {
			@Override
			public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
				// TODO Auto-generated method stub
				
			}
		});
	}
}